package coalescent.cef.pui;

import cef.pui.DescribeObjectEventImpl;
import cef.pui.EventConstructionException;
import cef.pui.pob.Builder;
import coalescent.cef.pui.pob.Builders_Coa;
import coalescent.data.K69Data;

import java.util.Properties;

/**
 * @author Susanta Tewari
 * @version version
 * @history Created on 2/10/13
 * @since 1.4.0
 */
public class DescribeObjectEventImpls {

    /**
     * The required properties are:
     * <ul>
     *     <li>{@code coalescent.builder.K69Data.url = k69data:xml//URL }<a href="coalescent/cef/pui/pob/doc-files/k69data.xml.txt">file format</a>, must accompany the <a href="coalescent/cef/pui/pob/doc-files/k69data.xsd.txt">schema</a></li>
     * </ul>
     *
     * @version version
     * @since 1.4.0
     * @history Created on 02/10/2013
     * @author Susanta Tewari
     */
    public static final class DescribeK69Data extends DescribeObjectEventImpl<K69Data> {

        public DescribeK69Data(final Properties props) throws EventConstructionException {

            super(props);

            super.processEventProperties(getImplementedEventInterfaces());
        }

        @Override
        protected Builder<K69Data> getBuilder(final Properties props) {
            return Builders_Coa.of_Data_K69_File(props, null);
        }
    }
}
